-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
readme: update aks setup description #250
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think that we also need those changes in the user-manual (now), since we are already working on getting the docs website ready.
README.md
Outdated
echo $lbip | ||
``` | ||
|
||
```sh | ||
curl --cacert ./verify/mesh-root.pem "https://${lbip}:8443" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
curl --cacert ./verify/mesh-root.pem "https://${lbip}:8443" | |
curl -k "https://${lbip}:8443" |
The verification will fail, since the workload cert does not contain the IP in its SAN list.
We can add the following paragraph from the user-manual.md
:
The workload certificate is a DNS wildcard certificate. Therefore, SAN is expected to fail when accessing the workload via an IP address.
On Azure, all load balancers automatically get ephemeral DNS entries, so either
use that or configure DNS yourself.
To validate the certificate locally, use `openssl`:
```sh
openssl s_client -showcerts -connect ${lbip}:443 </dev/null | sed -n -e '/-.BEGIN/,/-.END/ p' > certChain.pem
awk 'BEGIN {c=0;} /BEGIN CERT/{c++} { print > "cert." c ".pem"}' < certChain.pem
openssl verify -verbose -trusted verify/mesh-root.pem -- cert.1.pem
Co-authored-by: Paul Meyer <[email protected]>
Co-authored-by: 3u13r <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
TODO: